package com.modulethree.homework3;
/*
 (1)定义一个学生类Student，包含属性：姓名(String name)、年龄(int age)
  作者：翁海龙

 */
public class Student {

        String name;
        int age;
        public Student(String name, int age) {
            super();
            this.name = name;
            this.age = age;
        }
        public Student() {
            super();
        }

        @Override
        public String toString() {
            return "Student [姓名：" + name + ", 年龄：" + age + "]";
        }
    }

